<?php 
include "header.php";
mysql_connect("localhost", "admin", "admin") or die(mysql_error());
mysql_select_db("iConnect") or die(mysql_error());

$P->loadLocation($locList);
$P->loadLinks();
$P->loadPreContent("My Profile");
if($P->isLoggedIn()) {
	$u=new User();
	$a=new Address();
	$uni_array=array();
	$sch_array=array();
	$con_array=array();
	?>
	
     <tr>
    <td>Name</td>
    <td> <?php echo $u->name; ?> </td>
  </tr>